// 医院设置中,获取分页列表请求的参数类型
export interface getHosSetListParamsType {
  // 必选
  page: number,
  limit: number,
  // 可选
  hosname?: string,
  hoscode?: string
}
// 返回值类型的设置
export interface getHosSetListItemsType {
  id: string,
  createTime: string,
  updateTime: string,
  isDeleted: number,
  param: object,
  hosname: string,
  hoscode: string,
  apiUrl: string,
  signKey: string,
  contactsName: string,
  contactsPhone: string,
  status: 0 | 1
}
//返回值的Records这个数组的类型
export type getHosSetListRecordsType = getHosSetListItemsType[];
//返回的完整类型
export interface getHosSetListReturnType {
  records: getHosSetListRecordsType,
  total: number,
  size: number,
  current: number,
  orders: any[],
  hitCount: boolean,
  searchCount: boolean,
  pages: number
}
// 添加的类型
export interface addHosSetListParamsType {
  apiUrl: string,
  contactsName: string,
  contactsPhone: string,
  hoscode: string,
  hosname: string,
  id?: string
}